package com.hb.core.pojo.center.au.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hb.core.pojo.JSONObjectProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * describe:
 * 代理机构管理和投标人管理的vo
 * @author zhongdl
 * @date 2022/03/23
 */
@Setter
@Getter
@ApiModel(value="AgencyUserVo对象", description="前端传输对象")
public class AgencyBidUserVo {

    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "真实姓名")
    private String fullName;

    @ApiModelProperty(value = "企业名称")
    private String orgName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户状态")
    private Integer userStatus;

    @ApiModelProperty(value = "审核时间")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime auditTime;

    @ApiModelProperty(value = "身份证号")
    private String idNum;

    @ApiModelProperty(value = "认证类型(1, CA, 2: 扫码, 3: 有其他的往后叠加)")
    private Integer verifyType;

    @ApiModelProperty(value = "统一社会信用代码")
    private String creditCode;

    @ApiModelProperty(value = "证件号码")
    private String certificateNumber;

    @ApiModelProperty(value = "法人")
    private String legalName;

    @ApiModelProperty(value = "原因")
    private String reason;

    @ApiModelProperty(value = "用户配置")
    private JSONObjectProperty userConfig;

    @ApiModelProperty(value = "账号等级")
    private Integer accountLevel;

    /**
     * 创建日期
     */
    @ApiModelProperty(value = "创建日期")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  createTime;

}
